//
//  UIView+snapshot.h
//  KSBridgeDesign
//
//  Created by huzhaoke on 2021/4/5.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (snapshot)

- (UIImage *)ks_snapshot;

- (UIImage *)ks_snapshotWithOpaque:(BOOL)opaque;

- (UIImage *)ks_snapshotWithLayerRender;

@end

NS_ASSUME_NONNULL_END
